package com.nf.test.model.pojo;/*
 *@Author: gjh
 *Date: 2025/2/2419:07
 *Describe:
 */

import java.sql.Date;

public class Staffs {
    private int id;
    private String name;
    private int age;
    private String phone;
    private String stapos;
    private Date addtime;
    private Date updatetime;


    public Staffs() {
    }

    public Staffs(int id, String name, int age, String phone, String stapos, Date addtime, Date updatetime) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.phone = phone;
        this.stapos = stapos;
        this.addtime = addtime;
        this.updatetime = updatetime;
    }

    public Staffs(String name, int age, String phone, String stapos) {
        this.name = name;
        this.age = age;
        this.phone = phone;
        this.stapos = stapos;
    }

    public Staffs(String name, int age, String stapos, String phone, int id) {
        this.name = name;
        this.age = age;
        this.phone = phone;
        this.stapos = stapos;
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStapos() {
        return stapos;
    }

    public void setStapos(String stapos) {
        this.stapos = stapos;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "Staffs{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", phone='" + phone + '\'' +
                ", stapos='" + stapos + '\'' +
                ", addtime=" + addtime +
                ", updatetime=" + updatetime +
                '}';
    }
}
